Skip to content

)}

ReactiveList.InsertRange(int, IEnumerable) method

Defined in

Type: ReactiveList Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public void InsertRange(int index, IEnumerable<T> items)

View source (opens in a new tab)

Summary: Inserts a range of items at an index.

Parameters

NameTypeDescription
indexint (opens in a new tab)The index at which to insert the first item.
itemsIEnumerable (opens in a new tab)The items.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)Thrown when items is null.
System.ArgumentOutOfRangeException (opens in a new tab)Thrown when index is negative or greater than Count.